CalculateStartDateInSeconds (Deprecated) |
This method calculates the start date before a given date and duration in seconds and implements backward planning algorithm.
Note: The use of this method is deprecated; use CalculateStartDate instead. |
SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <calculateStartDateInSeconds xmlns="http://schemas.cordys.com/buscalendar/runtime/BusinessCalendar/1.0"> <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID> <calendarName>Calender1</calendarName> <endDate>2008-09-23T22:37:53.234</endDate> <seconds>20</seconds> </calculateStartDateInSeconds> </SOAP:Body> </SOAP:Envelope>
Request Parameters
Parameter |
Description |
Mandatory |
Accepted Input Values |
---|---|---|---|
WorkspaceID | ID of CWS Workspace | No | GUID (optional) |
calendarName |
Unique identifier for the calendar. This can be full qualified name or document ID. |
Yes |
You can specify one of the following values:
|
endDate |
End date. Date from which to do calculation/planning |
Yes |
Date must be in the UTC format. For example, 2008-09-23T22:37:53.234. |
seconds |
Duration in seconds |
Yes |
Any non-negative integer value |
SOAP Response
<data> <calculateStartDateInSecondsResponse xmlns="http://schemas.cordys.com/buscalendar/runtime/BusinessCalendar/1.0" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <calculateStartDateInSeconds>2008-09-23T10:29:40.234</calculateStartDateInSeconds> </calculateStartDateInSecondsResponse> </data>
Response Parameters
Parameter |
Description |
---|---|
calculateStartDateInSeconds |
Date in UTC. For example, 2008-09-23T22:38:00.000. |